package com.zhongyu.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.zhongyu.pojo.Provider;
import com.zhongyu.vo.PageResult;

import javax.servlet.http.HttpSession;
import java.util.List;

public interface ProviderService extends IService<Provider> {
    PageResult searchAll(Integer pageNo, Integer pageSize, Provider provider);
    void add(Provider provider);
    void del(Integer id);

    void update(Provider provider);
    List<Provider> searchAll();
    void batchDel(Integer[] ids);
    List<Provider> searchZeng(Integer []ids,Provider provider, HttpSession session);
}
